<template>
    <view class="main">
        <view class="title">{{meta.openResult}}</view>
        <view class="image">
            <image :src="meta.img" mode="widthFix"></image>
        </view>
        <view class="bottom" v-if="meta&&meta.status==='wait'">
            <view class="msg">
                <view class="tips">请求开门中</view>
                <view class="tips">购买过程中请勿关闭小程序</view>
            </view>
        </view>

        <view class="bottom" v-else-if="meta&&meta.status==='successOpen'">
            <view class="msg">
                <view class="tips">请将不需要的商品按原样排放整齐</view>
                <view class="tips">购买过程中请勿关闭小程序</view>
            </view>
            <view class="notice">关闭后将自动扣费，并发送账单</view>
        </view>

        <view class="bottom" v-else-if="meta&&meta.status==='successClose'">
            <view class="msg">
                <view class="tips">关门成功</view>
            </view>
            <view class="notice">账单将会自动发送并扣款，如有扣款错误可在订单页面申请售后</view>
        </view>

        <view class="bottom" v-else>
            <view class="msg">
                <view class="tips">请求开门失败</view>
                <view class="tips">请返回主页重新扫码尝试</view>
            </view>
            <view class="notice">本次操作不产生扣费</view>
        </view>

    </view>
</template>

<script>
    import successOpen from "./successOpen.js";
    export default successOpen;
</script>

<style>
    @import url("./successOpen.css");
</style>